﻿namespace TestApp
{
    internal interface IStorage
    {
        T ReadFromType<T>();

        T ReadFromKey<T>(string key);

        void WriteWithType<T>(T obj);

        void WriteWithKey(object obj, string key);
    }
}
